Adding incident comments

Add comments to an incident.

POST

https://LogPoint-IP/add_incident_comment

Parameter

Value Type

Description

username

String

A LogPoint username

secret_key

String

Secret key of LogPoint. Refer to Accessing the Secret Key.

requestData

JSON Object

A JSON objects containing the following parameters:

_ids: Value of the field ‘id’ of the particular incident.

comments: Comments to be added to a particular incident.

Request Example

params={
        "username": "John",
        "secret_key": "a1b2c3d4e5f6g7h8i9j0k1",
        "requestData": {
                "version": "0.1",
                "states": [
                {
                        "_id": "6156e859b92e73ec9b0b9bfa",
                        "comments": [
                                "Comment1",
                                "Comment2"
                                ]
                        },
                {
                        "_id": "6156e985b92e73ec9b0b9bfb",
                        "comments": [
                                "Comment1",
                                "Comment2"
                                ]
                }
                ]
        }
}

Sample JSON response

{
        "success": true,
        "message": "Comments added"
}

Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support